// const state = {
//     user: {}
// }

import {combineReducers} from "redux";

function user(state = {}, action) {
    if (action.type == 'GET_USER') {
        return Object.assign({}, action.data);
    }
    return state;
}

export default combineReducers({
    user
});

